<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('Notice/index')}">消息管理</a></li>
        <li class="active"><a href="{:U('Notice/add')}">新增消息</a></li>
    </ul>
    <form action="{:U('Notice/add_post')}" method="post" class="form-horizontal js-ajax-forms" enctype="multipart/form-data">
        <div class="row-fluid">
            <div class="span9">
                <table class="table table-bordered">
                    <tr>
                        <th>消息编号</th>
                        <td><input type="text" name="post[post_keywords]" id="keywords" value="3"  placeholder=""> </td>
                    </tr>
                    <tr>
                        <th>主题</th>
                        <td>
                            <input type="text"  name="post[post_title]" id="title" required value="" placeholder=""/>
                            <span class="form-required">*</span>
                        </td>
                    </tr>
                    <tr>
                        <th>内容</th>
                        <td>
                            <input type="text"  name="post[post_title]" id="title" required value="" placeholder=""/>
                            <span class="form-required">*</span>
                        </td>
                    </tr>
                    <tr>
                        <th width="80">接收者</th>
                        <td>
                            <select multiple="multiple" style="max-height: 100px;" name="term[]">
                                <option value="">张三</option>
                                <option value="">张无</option>
                                <option value="">李四</option>
                            </select>
                            <div>windows：按住 Ctrl 按钮来选择多个选项,Mac：按住 command 按钮来选择多个选项</div>
                        </td>
                    </tr>
                    <tr>
                        <th width="80">接收部门</th>
                        <td>
                            <select multiple="multiple" style="max-height: 100px;" name="term[]">
                                <option value="">研发部</option>
                                <option value="">包装部</option>
                                <option value="">市场部</option>
                            </select>
                            <div>windows：按住 Ctrl 按钮来选择多个选项,Mac：按住 command 按钮来选择多个选项</div>
                        </td>
                    </tr>
                    <tr>
                        <th>相关附件</th>
                        <td>
                            <ul id="photos" class="pic-list unstyled"></ul>
                            <a href="javascript:upload_multi_image('附件上传','#photos','photos-item-wrapper');" class="btn btn-small">选择附件</a>
                        </td>
                    </tr>
                </table>
            </div>
            </table>
        </div>
        <div class="form-actions">
            <button class="btn btn-primary js-ajax-submit" type="submit">提交</button>
            <a class="btn" href="javascript:history.back(-1);">返回</a>
        </div>
    </form>
</div>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
</body>
</html>